<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0px;
            padding: 0px;
            box-sizing: border-box;
        }
        .box{
            width: 640px;
            height: 50px;
            background-color: pink;
        }
        .box a{
            display: inline-block;
            width: 80px;
            height: 50px;
            padding-right: 0px;
            line-height: 50px;
            text-align: center;
            font-size: 16px;
            text-decoration: none;
        }
        .box a:hover{
            background-color: #008000;
        }
    </style>
</head>
<body>
    <div class="box">
        <a href="#">新闻一</a>
        <a href="#">新闻一</a>
        <a href="#">新闻一</a>
        <a href="#">新闻一</a>
        <a href="#">新闻一</a>
        <a href="#">新闻一</a>
        <a href="#">新闻一</a>
        <a href="#">新闻一</a>

    </div>

</body>
</html>